<template>
<img v-for="(dog,index) in dogList" :src="dog" :key="index">
    <br>
    <button @click="getDog">再来一只小狗</button>
</img>
</template>

<script setup lang="ts">
  import useDog from '@/hooks/useDog'
  const {dogList,getDog} = useDog()
</script>

<style scoped>
</style>